#pragma once
#include "predef.h"

namespace CA
{
	class CAAPI ScriptModule
	{
	public:
		static PTR GetLuaState();	
		static bool Load(PTR lua_state=0);
		static boost::signal<void(const std::string& msg)> OnScriptError;
		static boost::signal<void(const std::string& msg)> OnStdException;
	};
}